import request from '@/utils/request'

export default {
  // 需求跟踪单明细
  detail(params) {
    return request({
      url: `/v1/purchase-demand/purchase-demand-sku/detail`,
      method: 'get',
      params
    })
  },
  // 需求跟踪单变更
  change(data) {
    return request({
      url: `/v1/purchase-demand/purchase-demand-sku/change`,
      method: 'post',
      data
    })
  },
  // 编辑备库需求变更单
  edit(data) {
    return request({
      url: `/v1/purchase-demand/purchase-demand-change/edit`,
      method: 'post',
      data
    })
  },
}
